changes to return code of main in case of error