remove the log and fix the error 'is better written in dot notation'