Bug fixes with placing orders