fix for test env