fix bug clicking model