add some String functions, fix web framework