solved bug in redirection on add fucntion