fixed error
patches for initial tests