checked bug fix before pushing - actually fixed bug this time