delete unneeds
add flag 'if_exists'