cathc a potential error