Fixed bugs in add and edit movie.