Fix error to not skipping null chars on empty frames