Fixing wrong function getter