fixed regression introduced in commit 70a772d0f0f0ea7a0c54b79138c5b8abd3238bba