fixed incorrect usage detection