Removed duplicate var pointing to when lib