return empty string instead of nil if action#name == 'wait'
add tabs when parsing