gallery link bug fixed