fixed for static version