Code modification

syntax error bug fix and remove codes