Little fix for show errors on model