return error in multiple return values