bug fixed

resolves #143