key [CONTAINER] doesn't exist in application.types
add checking if typename exists in application.types