detect wrong bundle type and report it to the user