raw format now working properly