fixed bug where commands where not yielded but called