fixing runtime error unkown lisnter