fixed stupidity bug