fixed static/ errors