Fixes for black line

fixes issue #46