minor debugging to needoptins actions and views