fixed bug that was supposedly fixed already