resolved img permalink bug