all gcc compile errors are fixed hopefully