fix error with spring-headless:
attempt to perform arithmetic on local 'split' (a nil value)