removed nav contexts from app config
fixed validate nav context function
fixed generation and test cass