added minor fixes