fixing stupid bug