fixed bug introduced in cd06b880461cf1e2e4e08375d05f8222e3523030