Changed lstrip to replace