percept calculation fix