Fixed bug in PartialController