sprintf went wrong, should be fixed now