removes print statements from add_platform_error