static bug fixed