FIxed a bug with one of the method calls.