Fixes a tempobject error