catch and emit more possible errors