fixed bug with respond-to