fixes find_params in posts controller