Haldwani: In an attempt to check and prevent illegal sand mining in the city, the revenue and mining departments last week cracked whip on a stone crusher firm and slapped a penalty of Rs 20 lakh.