bug fixes in image uploader and page editor