minor coding error fixed