bg and fg were backwards. fixed