fixed automated testing issues