fix bug in development with issue #250