fixed bug in status reporting