bug on model