fixed if statement in movie.erb
fixed iteration mistake