fixed a few more ios issues