remove bugs from action class.