iOS7 does not fail if no type is passed