fixed stats
some bug fixes, more to come