remove get_bytes() call