Fixed compiling issues and enabled last features