Fix CRLF. Added filter by code for catalog