fixed bad deletion for manifest