fixed compilers errors