fixed class with new gdlib