fix bug https://github.com/guitarrapc/valentia/issues/53