Fixed warnings in console