Tried to a fix a certain method not getting called