#249 bug fixed

#249 bug fixed