sangajala- fixed some issues regaridng quit