fix classes img fail