strong params fixes + factory fix