redundant check, will fix