error solved in box dimension