Fix #567, grade release button failed when install in subdir