fixed failing bug