fixed error in last bugfix