another bug because of my carelessness