bugfix creating kxcustoms