solved the dead loop, and cover image problem