bug multiple entity solved