fix problem with error class, clean, change spec_helper