Fixed a bug in beta