fix #1258

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