switched remote to false after if statement