Fix .katon creation
Fix 502 message