use eval to catch error in to_abs call inside callback