remove global get and post and take them from $KP->