added conversion to string needed for proper filename handling