fixing issue #250