add fix #50 also for getter