static compilation fixed