fixed some issues in GPDate