updated gems
whitespace
handle leading spaces