apply change suggested by Yuri Efremov