bug fixing, new test