fixing ace editor on written upload page