minor fix to trading