solved bool parsing problem for entities