Adapter-related bug fixed. Version updated to 0.5.2