minor erorrs fix