fixes an error report