fixed error calling lower()
fixing conflict