better error gem added