Use correct method calls. Should fix GUI bug.