bug fixed, on scheduling (non php function used)