fixed static direction issue