Hopefully fixed entitygui error