fixed bug in msrt.c