added workaround, not a clean solution but fixes unit test