a stupid bug fixed