fix attempt for  issue #30