fix errors when trying to run real test