close jpeg branch