make getStatus sync and change used places