fixed compilation, thanks greye