crude fix for tests