fixed a lot of stuff and made redev branch work on remote