fixed extremely stupid bug