Remove leading spaces in composedFunction