stupid bug fixed