fixed a stupidity bug