Fix the empty cover issue by crash early