fixed bug that occured in extending controllers which did not set the menu variable
fixed problem with args being an array in some situations