fixed warnings that were only present in dev environment