new feature getSchemaKeys
fixed some bugs and more error handling