fixed a failed comparison... have testcase to show