minor fix of php chart