rename bad functions
add num after error