Fixed a bug with inital entropy