Misuse of lstrip() was causing issues on certain libraries