coffee code corrections in models/ folder