fixed bug in cover