bugfix didn't work in another case, now it should be fixed