updated to new compiler
fixed code with xc8