modify trim function name