Fixed slected pathway id issue