fix syntax error
fix syntax error and rm -f for missing files