fixing relation field js params