Fix model in listener to use get_model instead