workaround for error during removing image link input