small issue with c