import abort and call it correctly