fixed redirect upon manual insert