Fix bug due to removed checkbox reading