version 1.7 anf type issue fix