fix java 7 issue

M