fixed retrieve pin routing