Use proper way to get data from model