Fixed delete bug;

Signed-off-by: ashwinh <ashwinh@cybage.com>