need to fix odd behavior