Fixing syntax error in base library