fixed odd bug