fixed class and img attr