fixed issue with nil gsub. version 1.0.9