Fixed errors in console (NEED ATTENTION)