fix SP relative compile error