fix with wrong integer resulting in wrong template specialization