fix regression in writing staff
fix regression in writing staff

walterbender/musicblocks,eohomegrownapps/musicblocks,Hrishi1999/musicblocks,Hrishi1999/musicblocks,eohomegrownapps/musicblocks,eohomegrownapps/musicblocks,walterbender/musicblocks,walterbender/musicblocks,Hrishi1999/musicblocks