deleting controller