fixes some failing tests