fix on detection