commit before fixing frame repeat bug
cleared the bug due to usage of closure variables in asynchronous call