fixes error when coverimg was missing