remove try-except block from unique