emulate flash player behaviour in case of invalid fragments