Fix for #63 by using replace() instead of lstrip()