fixed incorrect handling of nocache feature flag