Second Commit , rectified delete bug