fixed issue with submitting links