Add console log
Bugfix