Corrected problem with getters