attmpted fix for std