fix core model to log sql execute time
fix core model