Fix small issue when binding model