Fixed forceExpiry() usage
Fixed deprecated GD usage