Fixed key check

v1.0.1