fixed static error