attempted to resolve casting issues and stop casting