Fixed wrong captures problem