compilation error fixed for static assertion