adding quit for remove