fix installation magic