fix #1480

Signed-off-by: Chris Warrick <kwpolska@gmail.com>