fixing a bug around setter method mapping