Remove bitmap hunter warnings and unneccesary checks

action cannot be null here according to IJ.