small fix for friendy check, affects #309