fixed string to function