new compile options
small fixes