fixed install check

added better docblock