z reflection part bug is fixed