fixes a unexpected keyword_end error

Signed-off-by: Tass Skoudros <tass@skystack.com>