bug fix on schema controller, some function had a parmater that wasn't being used at all, it caused an error when you tried to call it w/o that param