solved helper class bugs