Fixed getXX method