fixing issue #262