bug fixes cubieboard2