fixed problem with cycle js