fixed some nereus code
fixed some nereus code + misc