support simple method name
trim props