redirect behavior is really strange...