fixed display link bug
fixed misc bugs