updated error usage