fixed warnings and errors on the dev console