remove magic_gpc calling