added backup and fixing images