fix for ender