fix some errors.  over looked basic error finally fixed :-(