small changes for Forge compatability