fixed issue with bad controller