minor correction
found the bug