fixed issue on controller and the join partial