add cover and other bug fix