add regexp for improving status check