Fix getting value