set to not readonly before deleting

remove commented out code
get rid of this