BZ-10533: fixed bug

Signed-off-by: Paden <padenportillo@gmail.com>