Fix dev random read