fixing entropy