Fix the model problem with mysqli