If your filling is runny, it's probably because the cake was too warm when you spread it on. Let the cake cool completely before spreading the filling, and if it's still runny, refrigerate it for 30 minutes to an hour.