replace all these with vprint_error