New beta 1.0.2

Fixed some bugs