fixed minor bugs paul 02-17-13;11:43AM