fixed constants for issue #9