fix compilation - serial io