get rid of bad operator error