Fixed bug in Public Controller