BOOX works fine. One solution is to ask Codex to reformat your epub file before importing it to your ereader.