fix minor bug, use proper way to store model specific constants