fixed pkl definition