fix automated testing