sdf fixes: #1