fixes #643 - case incorrect