fix whitespaces trim

Sorry for the inconvenience before. There is one thing that is worth to discuss. Setting file limit in express
will raise a err 413 should we catch this error and give wrap with a custom middleware?