wrong logic, caused crash on certain store loads.