Remove undefined status onload