beta errors
Fixed some errors